package com.yf.springbootgenerator.dao;

import com.yf.springbootgenerator.entity.TbUserPatient;
import com.yf.springbootgenerator.entity.TbUserPatientExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserPatientMapper {
    long countByExample(TbUserPatientExample example);

    int deleteByExample(TbUserPatientExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbUserPatient record);

    int insertSelective(TbUserPatient record);

    List<TbUserPatient> selectByExample(TbUserPatientExample example);

    TbUserPatient selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbUserPatient record, @Param("example") TbUserPatientExample example);

    int updateByExample(@Param("record") TbUserPatient record, @Param("example") TbUserPatientExample example);

    int updateByPrimaryKeySelective(TbUserPatient record);

    int updateByPrimaryKey(TbUserPatient record);
}